const router = require('koa-router')(
    {
        prefix: '/api'
    }
)
const UserController = require('../controller/user.js')

router.get('/user', UserController.getUser)
router.post('/user', UserController.createUser)
router.post('/login', UserController.login)
module.exports = router